﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.Runtime.Validation;
using Magicodes.Admin.Custom.Fins;
using Magicodes.Admin.Custom.TimeLimits;
using Magicodes.Admin.Dto;
using System;
using System.Collections.Generic;
using System.Text;

namespace Admin.Application.Custom.TimeLimits.Dto
{
    public class GetTimeLimitPageListInput : PagedAndSortedInputDto, IShouldNormalize
    {
        public string SearchArea { get; set; }
        public int SearchLimitDay { get; set; }
        public void Normalize()
        {
            if (string.IsNullOrWhiteSpace(base.Sorting))
            {
                Sorting = "Id";
            }
        }
    } 
}
